<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>首页</title>
         <link href="${pageContext.request.contextPath}/statics/css/bootstrap.min.css" rel="stylesheet">
      <style>

      /*a{*/
        /*text-decoration: none;*/
        /*color: white;*/
        /*font-size: 18px;*/
      /*}*/
      /*h3{*/
        /*display: block;*/
        /*width: 180px;*/
        /*height: 38px;*/
        /*margin: 100px auto;*/
        /*text-align: center;*/
        /*line-height: 38px;*/
        /*background: lightblue;*/
        /*border-radius: 5px;*/
      /*}*/

      /*.form-control{*/
        /*width: 25%;*/
      /*}*/
      span{
        font-size: 16px;
        white-space: nowrap;
        line-height: 34px;
      }
      form{
        width: 350px;
        margin: 30px auto;
      }
      div{
        display: flex;
        justify-content: space-between;
      }
      p{
        font-size: 24px;
        text-align: center;
        margin: 150px 0 0 0;
      }
      .txt{
        width: 90px;
        margin-left: 80px;
      }
        .cr{
            color: lightcoral;
        }
    </style>
  </head>
  <body>

    <%--<h3>--%>
      <%--<a href="${pageContext.request.contextPath}/book/allBook">点击进入列表页</a>--%>
    <%--</h3>--%>
    <p>图书管理登录</p>

    <form class="form-horizontal" action="${pageContext.request.contextPath}/admin" method="post">
      <%--required 必填--%>
        <div class="form-group">
          <span>管理员账号：</span>
          <input type="text" class="form-control" autoComplete="off" name="admin_name" required><br>
        </div>
        <div class="form-group">
          <span>管理员密码：</span>
          <input type="password" autoComplete="off" class="form-control" name="admin_password" required><br>
        </div>
          <input class="btn btn-default txt" type="submit" value="登&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;录">
    </form>
  <p class="cr">${error}</p>


  </body>
</html>
